package com.amigo.online.provider.merchant.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.amigo.online.common.core.response.Response;

@FeignClient(name = "amigo-online-provider-advertisement")
public interface AreaFeignService {

    @RequestMapping(value = "/area/getProvinceAndCityByCityId/{cityId}/{column}", method = RequestMethod.GET)
    public ResponseEntity<Response> getProvinceAndCityByCityId(@PathVariable("cityId") Long cityId,
                                                               @PathVariable("column") String column);
}
